<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<!DOCTYPE html>
<html>
<head>
    <title>Welcome!</title>
    <link rel="stylesheet" href="/css/index.css">

</head>
<body>
<div class="container right-panel-active">
    <!-- Sign Up -->
    <div class="container__form container--signup">
        <form action="/login" class="form" id="form1" method="post">
            <h2 class="form__title">登录</h2>
            <div class="ddd"><span class="aaa">姓名:</span><input type="text" placeholder="默认学号" class="input"
                                                                name="username" required/></div>
            <div class="ddd"><span class="aaa">密码:</span><input type="password" placeholder="默认123456" class="input"
                                                                name="password" required/></div>
            <div class="identity">
                <span>请选择您的身份:</span>
                <label><input type="radio" name="identify" value="student" checked="checked">学生</label>
                <label><input type="radio" name="identify" value="teacher">老师</label>
                <label><input type="radio" name="identify" value="admin">管理员</label>
            </div>
            <div style="margin-top: 25px;"><a class="a" href="setnewpassword.jsp"> 忘记密码?</a></div>
            <input type="submit" class="btn" value="登录">
        </form>
    </div>

    <!-- Sign In -->
    <div class="container__form container--signin">
        <form action="/register" class="form" id="form2" method="post">
            <h2 class="form__title">注册</h2>
            <div class="ddd"><span class="aaa">姓名:</span><input type="text" placeholder="姓名" class="input"
                                                                name="username" required/></div>
            <div class="ddd"><span class="aaa">密码:</span><input type="password" placeholder="密码" class="input"
                                                                name="password" required/></div>
            <div class="ddd"><span class="aaa">班级:</span><input type="text" placeholder="班级" class="input" name="tclass"
                                                                required/></div>
            <div class="identity">
                <span>请选择您的身份:</span>
                <label><input type="radio" name="identify" value="student" checked="checked">学生</label>
                <label><input type="radio" name="identify" value="teacher">老师</label>
            </div>
            <input type="submit" class="btn" value="注册">
        </form>
    </div>

    <!-- Overlay -->
    <div class="container__overlay">
        <div class="overlay">
            <div class="overlay__panel overlay--left">
                <button class="btn" id="signIn">注册</button>
            </div>
            <div class="overlay__panel overlay--right">
                <button class="btn" id="signUp">登录</button>
            </div>
        </div>
    </div>
</div>
<script src="/js/index.js"></script>
</body>
</html>